home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
FTP Server Login.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
64 lines
[SUBJECT]
Description=Login form for FTP servers
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function Login(form) {
;var username = form.username.value;
;var password = form.password.value;
;var server = form.server.value;
;if (username && password && server) {
;var ftpsite = "ftp://" + username + ":" + password + "@" + server;
;window.location = ftpsite;
;}
;else {
;alert("`alert_message`");
; }
;}
;// End -->
;</script>
;
[BODY_TEXT]
;<div align="center">
;<form name="login">
;<table width="250" border="1" cellpadding="3" summary="">
;<tr>
;<td colspan="2" align="center"><b><h2>`caption`</h2></b></td>
;</tr>
;<tr>
;<td>Username:</td>
;<td><input type="text" name="username" size="20"></td>
;</tr>
;<tr>
;<td>Password:</td>
;<td><input type="password" name="password" size="20"></td>
;</tr>
;<tr>
;<td>Server:</td>
;<td><tt>ftp://</tt><input type="text" name="server" size="14"></td>
;</tr>
;<tr>
;<td colspan="2" align="center">
;<input type="button" value="Login!" onClick="Login(this.form)"></td>
;</tr>
;</table>
;</form>
;</div>
;
[`alert_message`]
Kind=S
Value=Please enter your username, password, and FTP server's address.
[`caption`]
Kind=S
Value=Logon to FTP Server!